//
//  DBThermemoter.h
//  CareRingApp
//
//  Created by Linktop on 2022/6/7.
//

#import <Foundation/Foundation.h>
#import "DBValueSuper.h"
#import "HMPdfShareProtoal.h"

NS_ASSUME_NONNULL_BEGIN

@interface DBThermemoter : DBValueSuper<HMPdfShareProtoal>

//@property(assign, nonatomic)float fluctuate; //波动值 =  当前值 - 时间段内的最小值

/// 查询振幅列表
+(void)queryBy:(NSString * _Nonnull)macAddress Begin:(NSDate *)beginDate EndDate:(NSDate *)endDate OrderBeTimeDesc:(BOOL)isDesc Cpmplete:(void(^)(NSMutableArray<DBThermemoter *> *results, NSNumber *maxThermemoter, NSNumber *minThermemoter, NSNumber *avgThermemoter))cmpBlk;

// 首页体温柱状图使用
+(void)queryMutiDataGroupHours:(NSString * _Nonnull)account DayDate:(NSDate *)dayDate   Cpmplete:(void(^)(NSMutableArray<NSDictionary *> * res) )cmpBlk;
+(void)queryMaxTime:(NSString * _Nonnull)account Cpmplete:(void(^)(NSNumber * _Nullable maxTimeStamp) )cmpBlk;

//- (NSArray<NSString *> *)pdfShowValuerStrings:(NSInteger)index;

@end

NS_ASSUME_NONNULL_END
